package com.tucy.logistics.common.base;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * author: tcy
 * createDate: 2023/6/25
 * description: 分页查询基础字段
 */
@Data
public class BasePageQuery {

    @ApiModelProperty(value = "起始页码")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "每页数量")
    private Integer pageSize = 10;

    @ApiModelProperty("排序方式：true-倒序, false-顺序")
    private Boolean sortType = false;

    @ApiModelProperty("排序字段")
    private String sortColumn;

}
